export const goodsRecommendColumns = [
  {
    title: '推荐ID',
    dataIndex: 'id',
    align: 'center'
  },
  {
    title: '推荐商品',
    dataIndex: 'spuId',
    align: 'center'
  },
  {
    title: '推荐类型',
    dataIndex: 'recommendType',
    scopedSlots: { customRender: 'recommendType' },
    align: 'center'

  },
  {
    title: '操作',
    dataIndex: 'action',
    scopedSlots: { customRender: 'action' },
    align: 'center'
  }
]

export const statusMap = {
  0: {
    status: 'default',
    text: '关闭'
  },
  1: {
    status: 'processing',
    text: '运行中'
  },
  2: {
    status: 'success',
    text: '已上线'
  },
  3: {
    status: 'error',
    text: '异常'
  }
}